#ifndef extEEPROM_H_
#define extEEPROM_H_

extern class extEEPROM spiPROM;

class extEEPROM {
	uint8_t spi_transfer(volatile uint8_t);

	public:
		extEEPROM();
		uint8_t readByte(int);
		void writeByte(int, uint8_t);
		void writeBuff(int, uint8_t*, size_t);
};

#endif